<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Puzzle Battle</title>
<meta name="keywords" content="宝石战争,宝石战争html5游戏" />
<meta name="description" content="宝石战争html5游戏,宝石战争手机在线游戏" />
<meta name="viewport" content="height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<style>BODY,HTML{text-align:center;-webkit-touch-callout:none;-webkit-text-size-adjust:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;margin:0;padding:0;font-family:Arial,Verdana,sans-serif;font-size:12px;font-weight:normal;color:#ccc;background-color:#FFFFFF;background:black;overflow:hidden;height:100%;width:100%;bottom:0;}#content{position:absolute;height:100%;width:100%;margin:inherit;box-shadow:none;bottom:0;}.no-mobile{display:none;}.portraitLock{width:100%;height:100%;background-color:#000000;}.rotatePhoneIcon{width:60%;margin:30px auto;display:block;}</style>
<script src="flambe.js"></script>
<script>
function incomingLoadingComplete() {
console.log("load complete");
try{
keygamesGameProxy.post({'loadingComplete': true });
}catch(e){}
}
function incomingLevelEnd() {
console.log("level end");
try{
keygamesGameProxy.post({'levelEnd': true });
}catch(e){}
}
function incomingGameOver() {
console.log("game over");

try{
keygamesGameProxy.post({'gameOver': true });
}catch(e){}
}
function incomingSendScore(score) {
console.log("send score"+score);
try{
keygamesGameProxy.post({'sendScore': score});
}catch(e){}
}
function clickApple() {
console.log("open appstore");           
}
function clickGoogle() {
console.log("open googleplay");    
}
function showMoreGames(utm_medium) {
}
</script>
</head>
<body>
<div id="content" style="position: absolute;"></div>
<script>	
var iOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false );
if(iOS){
document.getElementById("content").style.position="relative";
document.getElementById("content").style.overflow="hidden";			
}	
flambe.embed(["targets/main-html.js?v="+Date.parse(new Date())], "content");  	
</script>
</body>
</html>
